export default {
    data(){
        return {
            num:1
        }
    },
    template:(`
		<button @click="fn">{{num}}</button>
	`),
    methods:{
        fn(){
            console.log(this)
            this.num++
        }
    }
}